<ul id="myTab" class="nav nav-tabs">
    <li class="active">
        <a href="#home" data-toggle="tab">
            编辑资料
        </a>
    </li>
    <li><a href="#real" data-toggle="tab">认证资料</a></li>
</ul>
<div id="myTabContent" class="tab-content">
    <div class="tab-pane fade in active" id="home">
        <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="{:url('add')}" style="margin-top: 20px;">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label><!--姓名-->
                <div class="col-xs-12 col-sm-8">
                    <input id="c-username" data-rule="required" class="form-control form-control" name="row[username]" type="text" value="">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Tao_bao_no')}:</label><!--淘宝账号-->
                <div class="col-xs-12 col-sm-8">
                    <input id="c-tao_bao_no" data-rule="required" class="form-control form-control" name="row[tao_bao_no]" type="text" value="">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Card_no')}:</label><!--身份证号-->
                <div class="col-xs-12 col-sm-8">
                    <input id="c-card_no"  class="form-control form-control" name="row[card_no]" type="text" value="">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label><!--手机号-->
                <div class="col-xs-12 col-sm-8">
                    <input id="c-mobile" data-rule="required" class="form-control form-control" name="row[mobile]" type="text" value="">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Bank_name')}:</label><!--银行名称-->
                <div class="col-xs-12 col-sm-8">
                    <input id="c-bank_name" data-rule="required" class="form-control  form-control"  name="row[bank_name]" value="">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Bank_no')}:</label><!--银行卡号-->
                <div class="col-xs-12 col-sm-8">
                    <input id="c-Bank_no" data-rule="required" class="form-control form-control"  name="row[bank_no]" value="">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Qq')}:</label><!--Qq号-->
                <div class="col-xs-12 col-sm-8">
                    <input id="c-Qq"  class="form-control form-control" name="row[qq]" type="number" value="">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Task_count')}:</label><!--单数/天-->
                <div class="col-xs-12 col-sm-8">
                    <input id="c-task_count" data-rule="required" class="form-control  form-control"  data-use-current="true" name="row[task_count]" type="text" value="">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Month_task_count')}:</label><!--单数/月-->
                <div class="col-xs-12 col-sm-8">
                    <input id="c-month_task_count" data-rule="required" class="form-control form-control" name="row[month_task_count]" type="text" value="">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Task_day_count')}:</label><!--间隔天数-->
                <div class="col-xs-12 col-sm-8">
                    <input id="c-task_day_count" data-rule="required" class="form-control form-control" name="row[task_day_count]" type="text" value="">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Task_limit_cash')}:</label><!--金额限制-->
                <div class="col-xs-12 col-sm-8">
                    <input id="c-task_limit_cash" data-rule="required" class="form-control form-control" name="row[task_limit_cash]" type="text" value="">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Person_count')}:</label><!--可招组员-->
                <div class="col-xs-12 col-sm-8">
                    <input id="c-person_count" data-rule="required" class="form-control form-control" name="row[person_count]" type="text" value="">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Remarks')}:</label><!--备注-->
                <div class="col-xs-12 col-sm-8">
                    <textarea id="c-remarks"   class="form-control  form-control" rows="5" name="row[remarks]" cols="50" ></textarea>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Referrer_id')}:</label><!--推荐人-->
                <div class="col-xs-12 col-sm-8">
                    <input id="c_referrer_id" data-rule="required" class="form-control form-control" name="row[referrer_id]" type="text" value="">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label><!--收货地址-->
                <div class="col-xs-12 col-sm-8">
                    <textarea  id="c-address" class="form-control  form-control" rows="5" name="row[address]" cols="50"></textarea>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Room')}:</label><!--房间-->
                <div class="col-xs-12 col-sm-8">

                    <select  id="c-room" data-rule="required" class="form-control selectpicker" name="row[room]">
                        <option value="1" >1</option>
                        <option value="2" >2</option>
                    </select>

                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Healthy')}:</label><!--健康评级-->
                <div class="col-xs-12 col-sm-8">

                    <select  id="c-healthy" data-rule="required" class="form-control selectpicker" name="row[healthy]">
                        <option value="0">0</option>
                        <option value="1">1</option>
                        <option value="2">2</option>
                        <option value="3">3</option>
                    </select>

                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Single_status')}:</label><!--接单状态-->
                <div class="col-xs-12 col-sm-8">

                    <select  id="c-single_status" data-rule="required" class="form-control selectpicker" name="row[single_status]">
                        <option value="1">可接单</option>
                        <option value="2">不可接单</option>
                    </select>

                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Cash_status')}:</label><!--提现状态-->
                <div class="col-xs-12 col-sm-8">

                    <select  id="c-cash_status" data-rule="required" class="form-control selectpicker" name="row[cash_status]">
                        <option value="1">可以</option>
                        <option value="2">不可以</option>
                    </select>

                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Role')}:</label><!--角色-->
                <div class="col-xs-12 col-sm-8">

                    <select  id="c_role" data-rule="required" class="form-control selectpicker" name="row[role]">
                        <option value="user">组员</option>
                        <option value="grouper">组长</option>
                    </select>

                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Task_status')}:</label><!--任务展示-->
                <div class="col-xs-12 col-sm-8">

                    <select  id="c-task_status" data-rule="required" class="form-control selectpicker" name="row[task_status]">
                        <option value="1">展示任务</option>
                        <option value="2">隐藏任务</option>
                    </select>

                </div>
            </div>
            <!--<div class="form-group">-->
                <!--<label for="c-local" class="control-label col-xs-12 col-sm-2">{:__('Wx_code')}:</label>&lt;!&ndash;微信二维码&ndash;&gt;-->
                <!--<div class="col-xs-12 col-sm-8">-->
                    <!--<button id="plupload-local" type="button" class="btn btn-primary plupload" data-preview-id="c-preview" data-input-id="c-local" data-url="{:url('ajax/upload')}"><i class="fa fa-upload"></i> {:__("Wx_code")}</button>-->
                <!--</div>-->
            <!--</div>-->
            <!--<div class="form-group" >-->
                <!--<label for="c-local" class="control-label col-xs-12 col-sm-2">图片:</label>-->
                <!--<div class="col-xs-12 col-sm-8">-->
                    <!--<input type="text" name="row[wx_code]" id="c-local" class="form-control" style="display:none" value=""/>-->
                    <!--<div id="c-preview">-->
                    <!--</div>-->
                <!--</div>-->
            <!--</div>-->
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">微信二维码:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-wx_code" data-rule="required" class="form-control form-control" size="50" name="row[wx_code]" type="text" value="0">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="plupload-wx_code" class="btn btn-danger plupload" data-input-id="c-wx_code" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-wx_code"><i class="fa fa-upload"></i> 微信二维码</button></span>
                            <span><button type="button" id="fachoose-wx_code" class="btn btn-primary fachoose" data-input-id="c-wx_code" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-wx_code"></span>
                    </div>
                    <ul class="row list-inline plupload-preview" id="p-wx_code"></ul>
                </div>
            </div>


            <div class="form-group ">
                <label class="control-label col-xs-12 col-sm-2"></label>
                <div class="col-xs-12 col-sm-8">
                    <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
                    <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                </div>
            </div>
        </form>
    </div>

    <div class="tab-pane fade" id="real">
        <form id="edit-form-1" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="{:url('real')}" style="margin-top: 20px;">
            <div class="row">
                <input name="real_id" id="real_id" value="{$row.user_real.real_id}" style="display: none">
                <div class="col-sm-6">
                    <!--<div class="form-group">-->
                        <!--<label for="c-local-1" class="control-label col-xs-12 col-sm-2">售后截图:</label>&lt;!&ndash;售后截图&ndash;&gt;-->
                        <!--<div class="col-xs-12 col-sm-8">-->
                            <!--<button id="plupload-local1" type="button" class="btn btn-primary plupload" data-preview-id="c-preview-1" data-input-id="c-local-1"  data-url="{:url('ajax/upload')}"><i class="fa fa-upload"></i> 售后截图</button>-->
                        <!--</div>-->
                    <!--</div>-->
                    <!--<div class="form-group" >-->
                        <!--<label for="c-local-1" class="control-label col-xs-12 col-sm-2">图片:</label>-->
                        <!--<div class="col-xs-12 col-sm-8">-->
                            <!--<input type="text" name="row[after_safe_img]" id="c-local-1" class="form-control" style="display:none" value=""/>-->
                            <!--<div id="c-preview-1">-->
                            <!--</div>-->
                        <!--</div>-->
                    <!--</div>-->
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">售后截图:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="input-group">
                                <input id="c-after_safe_img" data-rule="required" class="form-control form-control" size="50" name="row[wx_code]" type="text" value="0">
                                <div class="input-group-addon no-border no-padding">
                                    <span><button type="button" id="plupload-after_safe_img" class="btn btn-danger plupload" data-input-id="c-after_safe_img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-after_safe_img"><i class="fa fa-upload"></i> 售后截图</button></span>
                                    <span><button type="button" id="fachoose-after_safe_img" class="btn btn-primary fachoose" data-input-id="c-after_safe_img" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                </div>
                                <span class="msg-box n-right" for="c-after_safe_img"></span>
                            </div>
                            <ul class="row list-inline plupload-preview" id="p-after_safe_img"></ul>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <!--<div class="form-group">-->
                        <!--<label for="c-local-2" class="control-label col-xs-12 col-sm-2">淘气值:</label>&lt;!&ndash;售后截图&ndash;&gt;-->
                        <!--<div class="col-xs-12 col-sm-8">-->
                            <!--<button id="plupload-local2" type="button"  class="btn btn-primary plupload"  data-multiple="true" data-preview-id="c-preview-2" data-input-id="c-local-2" data-url="{:url('ajax/upload')}"><i class="fa fa-upload"></i> 淘气值</button>-->
                        <!--</div>-->
                    <!--</div>-->
                    <!--<div class="form-group" >-->
                        <!--<label for="c-local-2" class="control-label col-xs-12 col-sm-2">图片:</label>-->
                        <!--<div class="col-xs-12 col-sm-8">-->
                            <!--<input type="text" name="row[tao_gas_img]" id="c-local-2" class="form-control" style="display:none" value=""/>-->
                            <!--<div id="c-preview-2">-->
                            <!--</div>-->
                        <!--</div>-->
                    <!--</div>-->
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">淘气值:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="input-group">
                                <input id="c-tao_gas_img" data-rule="required" class="form-control form-control" size="50" name="row[tao_gas_img]" type="text" value="0">
                                <div class="input-group-addon no-border no-padding">
                                    <span><button type="button" id="plupload-tao_gas_img" class="btn btn-danger plupload" data-input-id="c-tao_gas_img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-tao_gas_img"><i class="fa fa-upload"></i> 淘气值</button></span>
                                    <span><button type="button" id="fachoose-tao_gas_img" class="btn btn-primary fachoose" data-input-id="c-tao_gas_img" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                </div>
                                <span class="msg-box n-right" for="c-tao_gas_img"></span>
                            </div>
                            <ul class="row list-inline plupload-preview" id="p-tao_gas_img"></ul>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <!--<div class="form-group">-->
                        <!--<label for="c-local-3" class="control-label col-xs-12 col-sm-2">淘花呗:</label>&lt;!&ndash;淘气值&ndash;&gt;-->
                        <!--<div class="col-xs-12 col-sm-8">-->
                            <!--<button id="plupload-local-3"  type="button" class="btn btn-primary plupload" data-multiple="true" data-preview-id="c-preview-3" data-input-id="c-local-3" data-url="{:url('ajax/upload')}"><i class="fa fa-upload"></i> 淘花呗</button>-->
                        <!--</div>-->
                    <!--</div>-->
                    <!--<div class="form-group" >-->
                        <!--<label for="c-local-3" class="control-label col-xs-12 col-sm-2">图片:</label>-->
                        <!--<div class="col-xs-12 col-sm-8">-->
                            <!--<input type="text" name="row[tao_flower_img]" id="c-local-3" class="form-control" style="display:none" value="{$row.user_real.tao_flower_img}"/>-->
                            <!--<div id="c-preview-3">-->
                            <!--</div>-->
                        <!--</div>-->
                    <!--</div>-->
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">淘花呗:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="input-group">
                                <input id="c-tao_flower_img" data-rule="required" class="form-control form-control" size="50" name="row[tao_flower_img]" type="text" value="0">
                                <div class="input-group-addon no-border no-padding">
                                    <span><button type="button" id="plupload-tao_flower_img" class="btn btn-danger plupload" data-input-id="c-tao_gas_img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-tao_flower_img"><i class="fa fa-upload"></i> 淘花呗</button></span>
                                    <span><button type="button" id="fachoose-tao_flower_img" class="btn btn-primary fachoose" data-input-id="c-tao_gas_img" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                </div>
                                <span class="msg-box n-right" for="c-tao_gas_img"></span>
                            </div>
                            <ul class="row list-inline plupload-preview" id="p-tao_flower_img"></ul>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <!--<div class="form-group">-->
                        <!--<label for="c-local-4" class="control-label col-xs-12 col-sm-2">淘体检:</label>&lt;!&ndash;淘气值&ndash;&gt;-->
                        <!--<div class="col-xs-12 col-sm-8">-->
                            <!--<button id="plupload-local4" type="button"  class="btn btn-primary plupload" data-preview-id="c-preview-4" data-input-id="c-local-4" data-url="{:url('ajax/upload')}"><i class="fa fa-upload"></i> 淘体检</button>-->
                        <!--</div>-->
                    <!--</div>-->
                    <!--<div class="form-group" >-->
                        <!--<label for="c-local-4" class="control-label col-xs-12 col-sm-2">图片:</label>-->
                        <!--<div class="col-xs-12 col-sm-8">-->
                            <!--<input type="text" name="row[tao_exam_img]" id="c-local-4" class="form-control" style="display:none" value=""/>-->
                            <!--<div id="c-preview-4">-->
                            <!--</div>-->
                        <!--</div>-->
                    <!--</div>-->
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">淘体检:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="input-group">
                                <input id="c-tao_exam_img" data-rule="required" class="form-control form-control" size="50" name="row[tao_exam_img]" type="text" value="0">
                                <div class="input-group-addon no-border no-padding">
                                    <span><button type="button" id="plupload-tao_exam_img" class="btn btn-danger plupload" data-input-id="c-tao_exam_img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-tao_exam_img"><i class="fa fa-upload"></i> 淘体检</button></span>
                                    <span><button type="button" id="fachoose-tao_exam_img" class="btn btn-primary fachoose" data-input-id="c-tao_exam_img" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                </div>
                                <span class="msg-box n-right" for="c-tao_exam_img"></span>
                            </div>
                            <ul class="row list-inline plupload-preview" id="p-tao_exam_img"></ul>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <!--<div class="form-group">-->
                        <!--<label for="c-local-5" class="control-label col-xs-12 col-sm-2">淘宝贝:</label>&lt;!&ndash;淘气值&ndash;&gt;-->
                        <!--<div class="col-xs-12 col-sm-8">-->
                            <!--<button id="plupload-local5" type="button"  class="btn btn-primary plupload" data-preview-id="c-preview-5" data-input-id="c-local-5" data-url="{:url('ajax/upload')}"><i class="fa fa-upload"></i> 淘宝贝</button>-->
                        <!--</div>-->
                    <!--</div>-->
                    <!--<div class="form-group" >-->
                        <!--<label for="c-local-5" class="control-label col-xs-12 col-sm-2">图片:</label>-->
                        <!--<div class="col-xs-12 col-sm-8">-->
                            <!--<input type="text" name="row[tao_baby_img]" id="c-local-5" class="form-control" style="display:none" value=""/>-->
                            <!--<div id="c-preview-5">-->
                            <!--</div>-->
                        <!--</div>-->
                    <!--</div>-->
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">淘宝贝:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="input-group">
                                <input id="c-tao_baby_img" data-rule="required" class="form-control form-control" size="50" name="row[tao_baby_img]" type="text" value="0">
                                <div class="input-group-addon no-border no-padding">
                                    <span><button type="button" id="plupload-tao_baby_img" class="btn btn-danger plupload" data-input-id="c-tao_baby_img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-tao_baby_img"><i class="fa fa-upload"></i> 淘宝贝</button></span>
                                    <span><button type="button" id="fachoose-tao_baby_img" class="btn btn-primary fachoose" data-input-id="c-tao_baby_img" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                </div>
                                <span class="msg-box n-right" for="c-tao_exam_img"></span>
                            </div>
                            <ul class="row list-inline plupload-preview" id="p-tao_baby_img"></ul>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <!--<div class="form-group">-->
                        <!--<label for="c-local-6" class="control-label col-xs-12 col-sm-2">淘评价:</label>&lt;!&ndash;淘气值&ndash;&gt;-->
                        <!--<div class="col-xs-12 col-sm-8">-->
                            <!--<button id="plupload-local6" type="button"  class="btn btn-primary plupload" data-preview-id="c-preview-6" data-input-id="c-local-6" data-url="{:url('ajax/upload')}"><i class="fa fa-upload"></i> 淘评价</button>-->
                        <!--</div>-->
                    <!--</div>-->
                    <!--<div class="form-group" >-->
                        <!--<label for="c-local-6" class="control-label col-xs-12 col-sm-2">图片:</label>-->
                        <!--<div class="col-xs-12 col-sm-8">-->
                            <!--<input type="text" name="row[tao_evaluate_img]" id="c-local-6" class="form-control" style="display:none" value=""/>-->
                            <!--<div id="c-preview-6">-->
                            <!--</div>-->
                        <!--</div>-->
                    <!--</div>-->
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">淘评价:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="input-group">
                                <input id="c-tao_evaluate_img" data-rule="required" class="form-control form-control" size="50" name="row[tao_evaluate_img]" type="text" value="0">
                                <div class="input-group-addon no-border no-padding">
                                    <span><button type="button" id="plupload-tao_evaluate_img" class="btn btn-danger plupload" data-input-id="c-tao_evaluate_img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-tao_evaluate_img"><i class="fa fa-upload"></i> 淘宝贝</button></span>
                                    <span><button type="button" id="fachoose-tao_evaluate_img" class="btn btn-primary fachoose" data-input-id="c-tao_evaluate_img" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                </div>
                                <span class="msg-box n-right" for="c-tao_evaluate_img"></span>
                            </div>
                            <ul class="row list-inline plupload-preview" id="p-tao_evaluate_img"></ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="form-group ">
                <label class="control-label col-xs-12 col-sm-2"></label>
                <div class="col-xs-12 col-sm-8">
                    <input type="button" class="btn btn-success btn-embossed disabled" id = "pass" value="通过" >
                    <input type="button" class="btn btn-default btn-embossed"  id="fail"  value="取消">
                </div>
            </div>
        </form>
    </div>


</div>